package com.graduation.smartparkingplatform.Dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DiscernMapper {

  public Boolean addRecordIn(
      @Param("type") String type,
      @Param("carPlate") String carPlate,
      @Param("fileUrl") String fileUrl,
      @Param("confidence") Integer confidence,
      @Param("requestId") String requestId,
      @Param("nowTime") String nowTime);

  public Boolean addRecordOut(
      @Param("type") String type,
      @Param("carPlate") String carPlate,
      @Param("fileUrl") String fileUrl,
      @Param("confidence") Integer confidence,
      @Param("requestId") String requestId,
      @Param("nowTime") String nowTime);
}
